	<div id="leftColumn">
	<div id="menu">
	
<div class="item<?=in_array('deposit', $active_menus)?' active':''?>">
		<a href="#" class="label">Deposit funds</a>
		<div class="level2">
			<!--
			<a href="<?php echo $base_url ;?>account/deposit_cc/"><span>Debit / Credit Card</span><img src="<?php echo $base_url ;?>images/ps_mastercard.png" /><img src="<?php echo $base_url ;?>images/ps_visa.png" /></a>
			<a href="<?php echo $base_url ;?>account/deposit_lr/"><span>Liberty Reserve</span><img src="<?php echo $base_url ;?>images/ps_20_LR.png" /></a>
			-->
			<a href="<?php echo $base_url ;?>account/deposit_wire/"><span>Wire transfer</span></a>
			<!--<a href="<?php echo $base_url ;?>account/deposit_mb/"><span>Moneybookers</span><img src="<?php echo $base_url ;?>images/ps_20_MB.png" /></a>-->
		</div>
	</div>
	<div class="item<?=in_array('withdraw', $active_menus)?' active':''?>">
		<a href="<?php echo $base_url ;?>account/withdrawal" class="label">Withdraw funds</a>
	</div>
	<div class="item<?=in_array('my_accounts', $active_menus)?' active':''?>">
		<a href="#" class="label">My accounts</a>
		<div class="level2">
			<a href="<?php echo $base_url ;?>account/accts_list/"><span>My accounts list</span></a>
			<a target="_blank" href="<?php echo $base_url ;?>users/register_live"><span>Open Live Account</span></a>
			<a target="_blank" href="<?php echo $base_url ;?>users/register_demo"><span>Open Demo Account</span></a>
			<a target=_blank href="http://insydercorp.com/INSYDER4Setup.exe"><span>Download MT4 Platform</span></a>		
			<!-- <a target=_blank href="http://platform.tradency.com/b71/ECMTrader/"><span>Login Mirror Trader</span></a>	-->	
		</div>
	</div>
	<?php if(!$this->session->userdata('mirror')){ ?>
	<div class="item<?=in_array('security', $active_menus)?' active':''?>">
		<a href="#" class="label">Security</a>
		<div class="level2">
			<a href="<?php echo $base_url ;?>account/password_center">Password Centre</a>
			<!--<a href="<?php echo $base_url ;?>account/logs">Logs</a>-->
		</div>
	</div>
	<?php } ?>
	
	<?php
			$opts = read_options('aff_ib_only', 'OBJECT'); 
			if($opts->aff_ib_only=='yes')
			{
					if($this->session->userdata('ib'))
					{
					?>
	<!-- aff_ib_only -->
	<div class="item<?=in_array('affiliate', $active_menus)?' active':''?>">
		<a href="#" class="label">Affiliate</a>
		<div class="level2">
			<a href="<?php echo $base_url ;?>account/embed_banner/"><span>Banners</span></a>
			<a href="<?php echo $base_url ;?>account/embed_text_link/"><span>Text Links</span></a>
			<a href="<?php echo $base_url ;?>account/afflink/">Custom link</a>
			<a href="<?php echo $base_url ;?>account/affclients/">Manage my clients</a>
			<a href="<?php echo $base_url ;?>account/subib_recruit_link/">Sub-IB Recruitment Link</a>
		</div>
	</div>
	<!-- /aff_ib_only -->
					<?php
					}
			}	
			elseif($opts->aff_ib_only=='no')
			{
					?>
	<div class="item<?=in_array('affiliate', $active_menus)?' active':''?>">
		<a href="#" class="label">Affiliate</a>
		<div class="level2">
			<a href="<?php echo $base_url ;?>account/embed_banner/"><span>Banners</span></a>
			<a href="<?php echo $base_url ;?>account/embed_text_link/"><span>Text Links</span></a>
			<a href="<?php echo $base_url ;?>account/afflink/">Custom link</a>
			<a href="<?php echo $base_url ;?>account/affclients/">Manage my clients</a>
			<a href="<?php echo $base_url ;?>account/subib_recruit_link/">Sub-IB Recruitment Link</a>
		</div>
	</div>
					<?php
			}
	?>
	
	<!-- <div class="item">
		<a href="/help" class="label">Help</a>
	</div> -->
	<div class="item">
		<a href="<?=$base_url?>sessions/logout" class="label" onclick="return confirm('Are you sure that you want to logout?');">Logout</a>
	</div>
	
	
	
	                    
						                </div>